package planit.view;
import java.awt.BorderLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
@SuppressWarnings("serial")
public class EditEventDialog_old extends javax.swing.JDialog {
	private JPanel jPanel1;
	private JLabel descriptionLabel;
	private JTextField placeTextField;
	private JButton jButton1;
	private JButton jButton2;
	private JTextField nameTextField;
	private JLabel nameLabel;
	private JLabel PlaceLabel;
	private JTextField typeTextField;
	private JLabel typeLabel;
	private JTextArea descriptionTextArea;

	/**
	* Auto-generated main method to display this JDialog
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				JFrame frame = new JFrame();
				EditEventDialog_old inst = new EditEventDialog_old(frame);
				inst.setVisible(true);
			}
		});
	}
	
	public EditEventDialog_old(JFrame frame) {
		super(frame);
		initGUI();
	}
	
	private void initGUI() {
		try {
			{
				jPanel1 = new JPanel();
				getContentPane().add(jPanel1, BorderLayout.CENTER);
				jPanel1.setPreferredSize(new java.awt.Dimension(351, 346));
				jPanel1.setLayout(null);
				{
					descriptionTextArea = new JTextArea();
					jPanel1.add(descriptionTextArea);
					descriptionTextArea.setBounds(100, 132, 239, 79);
				}
				{
					descriptionLabel = new JLabel();
					jPanel1.add(descriptionLabel);
					descriptionLabel.setText("Description");
					descriptionLabel.setBounds(25, 132, 63, 16);
				}
				{
					typeLabel = new JLabel();
					jPanel1.add(typeLabel);
					typeLabel.setText("Type");
					typeLabel.setBounds(56, 97, 26, 16);
				}
				{
					typeTextField = new JTextField();
					jPanel1.add(typeTextField);
					typeTextField.setBounds(100, 92, 239, 28);
				}
				{
					placeTextField = new JTextField();
					jPanel1.add(placeTextField);
					placeTextField.setBounds(100, 58, 239, 28);
				}
				{
					PlaceLabel = new JLabel();
					jPanel1.add(PlaceLabel);
					PlaceLabel.setText("Place");
					PlaceLabel.setBounds(51, 63, 31, 16);
				}
				{
					nameLabel = new JLabel();
					jPanel1.add(nameLabel);
					nameLabel.setText("Name of Event");
					nameLabel.setBounds(6, 23, 82, 16);
				}
				{
					nameTextField = new JTextField();
					jPanel1.add(nameTextField);
					nameTextField.setBounds(100, 18, 239, 28);
				}
				{
					jButton2 = new JButton();
					jPanel1.add(jButton2);
					jButton2.setText("Save");
					jButton2.setBounds(189, 306, 65, 28);
				}
				{
					jButton1 = new JButton();
					jPanel1.add(jButton1);
					jButton1.setText("Cancel");
					jButton1.setBounds(274, 306, 65, 28);
				}
			}
			pack();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
